Name | Type | Length | IsNullable | Collation |
ShippedDate | datetime | 8 | ||
OrderID | int | 4 | ||
Subtotal | money | 8 |
create view "Summary of Sales by Quarter" AS
SELECT Orders.ShippedDate, Orders.OrderID, "Order Subtotals".Subtotal
FROM Orders INNER JOIN "Order Subtotals" ON Orders.OrderID = "Order Subtotals".OrderID
WHERE Orders.ShippedDate IS NOT NULL
--ORDER BY Orders.ShippedDate